 
<div class="banner">
    <ul >
        <?php 
            $slaytlar = Slayt::model()->findAll();
            foreach ($slaytlar as $slayt){ ?>
                <li>
                    <strong><?php echo $slayt->baslik; ?></strong></a>
                    <br/>
                    <i><span class="altBaslik"><?php echo $slayt->alt_baslik;?></span></i>
                    <br/>
                    <a href="<?php echo $slayt->url;?>">
                     <?php echo $slayt->resim; ?>
                    </a>
                    <br/>
                    <br/>
                    <br/>
                </li>
        <?php }
        ?>
    </ul>
</div>

